<%@ page language="java" import="java.util.*,com.entity.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%
if(request.getAttribute("result")!=null){
	if(request.getAttribute("result").equals("ok")){
	%>
		<script>alert("提交成功");location='/ryzlList.do?cs=&shzt='</script>
	<%
	}else{
	%>
		<script>alert("提交失败");</script>
	<%
	}
}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">
  <head>
    
    <title>人员资料</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<meta http-equiv="pragma" content="no-cache"/>
	<meta http-equiv="cache-control" content="no-cache"/>
	<meta http-equiv="expires" content="0"/>    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
	<meta http-equiv="description" content="This is my page"/>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<script>
function SubmitForm(){

    if(document.getElementById("bh").value=='')
    {
       document.getElementById("bh_error").style.display="none";
       document.getElementById("bh_error1").style.display="";
	   document.getElementById("bh").focus();
       return false;
    }
	else if(isNaN(document.getElementById("fns").value))
	{
	   alert("请输入数字");
	   document.getElementById("fns").focus();
	   return false;
	}else if (document.getElementById("sfzh").value==''){
	   document.getElementById("sfzh_error1").style.display="";
	   document.getElementById("sfzh").focus();
       return false;
	}
	else
	{
	 document.getElementById("sfzh_error1").style.display="none";
	 document.getElementById("bh_error1").style.display="none";
	   return true;
	}
}

function openwindow(str)
{
  window.open("doTree.jsp?sid="+str+"&pd=","部门","height=380,width=260,top=230,left=250,scrollbars=yes"); 
   //showModalDialog("doTree.jsp","部门","height=380,width=260,top=230,left=250,scrollbars=yes");
}
</script>
<script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
  </head>
  
  <body onload="loadrs()">
    <script type="text/javascript" src="js/checkname.js"></script>
    <script type="text/javascript" src="js/qy.js"></script>
<div style="display: none;" id="PageHeader" class="PageHeader"></div>
<c:if test="${ryzl.id!=null}">
<input type="button" value="导出封面" onClick="window.open('/getRyzl.do?jsp=fm&id=${ryzl.id}');"/>
<input type="button" value="导出档案目录" onClick="window.open('/getRyzl.do?jsp=daml&id=${ryzl.id}');"/>
<input type="button" value="导出本页" onClick="OpenWord(${ryzl.id})"/>
<input type="button" value="导出履历表封页" onClick="window.open('/getRyzl.do?jsp=llbfy&id=${ryzl.id}');"/>
<input type="button" value="导出说明书" onClick="window.open('/getRyzl.do?jsp=sm&id=${ryzl.id}');"/>
<input type="button" value="导出履历表" onClick="window.open('/getRyzl.do?jsp=llb&id=${ryzl.id}');"/>
<c:if test="${ryzl.rysx=='村育龄妇女小组'}">
  <input type="button" value="导出录用程序" onClick="window.open('/getRyzl.do?jsp=lycx&id=${ryzl.id}');"/>
<input type="button" value="导出综合测评一览表" onClick="window.open('/getRyzl.do?jsp=zhcpylb&id=${ryzl.id}');"/>
<input type="button" value="导出面试登记表" onClick="window.open('/getRyzl.do?jsp=msdjb&id=${ryzl.id}');"/>
</c:if>
<input type="button" value="导出测评录用情况登记表" onClick="window.open('/getRyzl.do?jsp=cplyqkb&id=${ryzl.id}');"/>

<input type="button" value="导出工资发放回执" onClick="window.open('/getRyzl.do?jsp=gzffhz&id=${ryzl.id}');"/>
<input type="button" value="导出考核情况" onClick="window.open('/getRyzl.do?jsp=khqk&id=${ryzl.id}');"/>
</c:if>
<table class="TableTop" width="100%">
   <tbody><tr>
      <td class="left"></td>
      <td class="center subject">
         人员资料</td>
      <td class="right"></td>
   </tr>
</tbody></table>
<form action="ryzlEdit.do" method="post" id="form1" name="form1" onSubmit="return SubmitForm();"  enctype="multipart/form-data">
<input id="id" name="id" value="${ryzl.id}" type="hidden"/>
<input id="fgrs" name="fgrs" value="${ryzl.rysx}" type="hidden"/>
<input id="addTime" name="addTime" value="${ryzl.addTime}" type="hidden"/>
<input type="hidden" name="dlyhid" id="dlyhid" value="${ryzl.dlyh.id }" />
<table class="TableBlock no-top-border" id="table1" width="100%" align="center">
    <tbody><tr>
      <td width="100" valign="bottom" nowrap="nowrap" class="TableData">人员编号：</td>
      <td width="160" valign="bottom" class="TableData"><input name="bh" type="text" class="SmallInput" id="bh"  onKeyPress="if(event.keyCode==13) return false;" value="${ryzl.bh}" onBlur="checkryzlid(this.value)" maxlength="100" />
       <br /><span id="bh_error" style="color:red; display:none" >编号已存在</span>
       <span id="bh_error1" style="color:red; display:none" >编号不能为空</span>
       </td>
      <td width="120" align="center" valign="bottom" class="TableData">
      <img id="userPicImg" name="userPicImg" src="${ryzl.zp}<c:if test="${ryzl.zp==null}">images/pic.jpg</c:if>" width="94" height="136"></td>
      <td valign="bottom" class="TableData"><br />
        添加照片：<br/>
        <input name="zp" type="file" id="zp" size="6" value="${ryzl.zp}" onChange="javascript:document.getElementById('userPicImg').src=this.value;"></td>
    </tr>
    </tbody><tbody id="tr_webmail" style="display: none;">
   </tbody>
    <tbody>
      <tr>
        <td class="TableData" valign="top" nowrap="nowrap">姓名：</td>
        <td class="TableData"><input name="xm" type="text" class="SmallInput" id="xm"  onKeyPress="if(event.keyCode==13) return false;" value="${ryzl.xm}" maxlength="100"></td>
        <td class="TableData">性别：</td>
        <td class="TableData"><input name="xb" type="radio" id="xb" value="男" checked />
        男 
          <input type="radio" name="xb" id="xb" value="女" <c:if test="${ryzl.xb =='女'}"> checked</c:if> />
        女</td>
      </tr>
      <tr>
        <td class="TableData" valign="top" nowrap="nowrap">出生日期：</td>
        <td class="TableData"><input name="csrq" type="text" class="SmallInput" id="csrq"  onKeyPress="if(event.keyCode==13) return false;" value="${ryzl.csrqString}" maxlength="100" onFocus="WdatePicker()"></td>
        <td class="TableData">参加工作日期：<br/>
          参加计生工作日期：</td>
        <td class="TableData"><input name="cjgzrq" type="text" class="SmallInput" id="cjgzrq"  onKeyPress="if(event.keyCode==13) return false;" value="${ryzl.cjgzrqString}" maxlength="100" onFocus="WdatePicker()" />
        <br/>
        <input name="cjjsgzrq" type="text" class="SmallInput" id="cjjsgzrq"  onKeyPress="if(event.keyCode==13) return false;" value="${ryzl.cjjsgzrqString}" maxlength="100" onFocus="WdatePicker()" /></td>
      </tr>
      <tr>
        <td class="TableData" valign="top" nowrap="nowrap">婚姻状况：</td>
        <td class="TableData"><select name="hyzk" id="hyzk" style="width: 86%">
        <option value="未婚" <c:if test="${ryzl.hyzk=='未婚'}"> selected</c:if>>未婚</option>
        <option value="已婚" <c:if test="${ryzl.hyzk=='已婚'}"> selected</c:if>>已婚</option>
        <option value="离婚" <c:if test="${ryzl.hyzk=='离婚'}"> selected</c:if>>离婚</option>
        <option value="丧偶" <c:if test="${ryzl.hyzk=='丧偶'}"> selected</c:if>>丧偶</option>
        </select>        </td>
        <td class="TableData">政治面貌：</td>
        <td class="TableData"><select name="zzmm" id="zzmm" style="width: 23%">
          <option value="群众" <c:if test="${ryzl.zzmm=='群众'}"> selected</c:if>>群众</option>
          <option value="党员" <c:if test="${ryzl.zzmm=='党员'}"> selected</c:if>>党员</option>
          <option value="团员" <c:if test="${ryzl.zzmm=='团员'}"> selected</c:if>>团员</option>
        </select></td>
      </tr>
      <tr>
        <td class="TableData" valign="top" nowrap="nowrap">民族：</td>
        <td class="TableData"><select name="mz" id="mz" style="width: 86%">
          <option value="汉族" <c:if test="${ryzl.mz=='汉族'}"> selected</c:if>>汉族</option>
          <option value="回族" <c:if test="${ryzl.mz=='回族'}"> selected</c:if>>回族</option>
          <option value="其它" <c:if test="${ryzl.mz=='其它'}"> selected</c:if>>其它</option>
        </select></td>
        <td class="TableData">籍贯：</td>
        <td class="TableData"><input name="jg" type="text" class="SmallInput" id="jg"  onKeyPress="if(event.keyCode==13) return false;" value="${ryzl.jg}" maxlength="100"></td>
      </tr>
      <tr>
        <td class="TableData" valign="top" nowrap="nowrap">学历：</td>
        <td class="TableData"><select name="xl" id="xl" style="width: 86%">
          <option value="初中" <c:if test="${ryzl.xl=='初中'}"> selected</c:if>>初中</option>
          <option value="高中" <c:if test="${ryzl.xl=='高中'}"> selected</c:if>>高中</option>
          <option value="中专" <c:if test="${ryzl.xl=='中专'}"> selected</c:if>>中专</option>
          <option value="大专" <c:if test="${ryzl.xl=='大专'}"> selected</c:if>>大专</option>
          <option value="本科" <c:if test="${ryzl.xl=='本科'}"> selected</c:if>>本科</option>
          <option value="研究生" <c:if test="${ryzl.xl=='研究生'}"> selected</c:if>>研究生</option>
          <option value="博士" <c:if test="${ryzl.xl=='博士'}"> selected</c:if>>博士</option>
          <option value="硕士" <c:if test="${ryzl.xl=='硕士'}"> selected</c:if>>硕士</option>
        </select></td>
        <td class="TableData">专业：</td>
        <td class="TableData"><input name="zy" type="text" class="SmallInput" id="zy"  onKeyPress="if(event.keyCode==13) return false;" value="${ryzl.zy}" maxlength="100"></td>
      </tr>
      <tr>
        <td class="TableData" valign="top" nowrap="nowrap">毕业院校：</td>
        <td class="TableData"><input name="byyx" type="text" class="SmallInput" id="byyx"  onKeyPress="if(event.keyCode==13) return false;" value="${ryzl.byyx}" maxlength="100"></td>
        <td class="TableData">联系地址：</td>
        <td class="TableData"><input name="lxdz" type="text" class="SmallInput" id="lxdz"  onKeyPress="if(event.keyCode==13) return false;" value="${ryzl.lxdz}" maxlength="100"></td>
      </tr>
      <tr>
        <td class="TableData" nowrap="nowrap">离职时间：</td>
        <td class="TableData"><input name="lzsj" type="text" <c:if test="${ryzl.gzzt!='离职'}">disabled</c:if>  class="SmallInput" id="lzsj" onKeyPress="if(event.keyCode==13) return false;" value="${ryzl.lzsjString}" maxlength="100" onFocus="WdatePicker()"></td>
        <td class="TableData">身份证号：</td>
        <td class="TableData"><input name="sfzh" id="sfzh" type="text"  class="SmallInput" id="sfzh" value="${ryzl.sfzh}" maxlength="100" onBlur="checksfzh(this.value)"/><!-- checkryzlsfzh(this.value) -->
        <span id="sfzh_error1" style="color:red; display:none" >身份证号不能为空</span>
        <span id="sfzh_error" style="color:red; display:none" >此人信息已录入</span>
        </td>
      </tr>
      <tr>
        <td class="TableData" nowrap="nowrap">联系电话：</td>
        <td class="TableData"><input name="lxdh" type="text" class="SmallInput" id="lxdh"  onKeyPress="if(event.keyCode==13) return false;" value="${ryzl.lxdh}" maxlength="100"></td>
        <td class="TableData">基本工资：</td>
        <td class="TableData"><input name="jbgz" type="text" class="SmallInput" id="jbgz"  onKeyPress="if(event.keyCode==13) return false;" value="${ryzl.jbgz}" maxlength="100"></td>
      </tr>
      <tr>
      <td colspan="4" nowrap="nowrap" class="TableData" align="left">
      <c:if test="${ryzl.id==null}">
      <%Dlyh dlyh = (Dlyh)request.getSession().getAttribute("dlyh");
      System.out.println(dlyh.getSfzz()+"  "+dlyh.getDlyhmm()+"  "+dlyh.getZd().getTypename()+"********");
       %>
        部门：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="text" class="SmallInput" id="bm" name="bm" value="<%=request.getSession().getAttribute("zdtypename") %>"  readonly="readonly"></input>
        <select name="bmbh" style="width: 80px;" id="bmbh">
             <option>请选择</option>
              <%
                List cunlist = (List)request.getSession().getAttribute("zdpatentidlists");
                if(cunlist.size()>0){
                    Iterator it =  cunlist.iterator();
                    while(it.hasNext())
                    {
                        Zd zd = (Zd)it.next();
                    %>
                      <option value="<%=zd.getId()%>"><%=zd.getTypename() %></option>  
                   <%}}%>
                     </select>
       <!--  <input type="hidden" id ="bmbh" name="bmbh" value="<%//=dlyh.getZd().getId() %>" /> -->
     </c:if>
     <c:if test="${ryzl.id!=null}">
        部门：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <c:if test="${zdtypename!=null}">
           <input type="hidden" value="${ryzl.zdByBmbh.id }" id="bmid" name="bmid"></input>
           <input type="text" class="SmallInput" id="bm" name="bm" value="${zdtypename }" readonly="readonly"></input>
        </c:if>
        <select name="bmbh" style="width: 80px;" id="bmbh">
             <option>请选择</option>
              <%
                List cunlist = (List)request.getSession().getAttribute("zdpatentidlists");
                if(cunlist.size()>0){
                    Iterator it =  cunlist.iterator();
                    while(it.hasNext())
                    {
                        Zd zd = (Zd)it.next();
                        request.setAttribute("zd",zd);
                    %>
                      <option value="<%=zd.getId()%>" <c:if test="${ryzl.zdByBmbh.id==zd.id }">selected</c:if>><%=zd.getTypename() %></option>  
                   <%}}%>
                     </select> 
        <!-- <input type="hidden" id ="bmbh" name="bmbh" value="${ryzl.zdByBmbh.id }" /> -->
     </c:if>
          　　职务：&nbsp;&nbsp;&nbsp;&nbsp;
                  <select name="zwbh" id="zwbh" style="width: 10%">
            <c:forEach items="${zwList}" var="zw">
            <option value="${zw.id}" <c:if test="${ryzl.zdByZwbh.id==zw.id}"> selected</c:if>>${zw.typename}</option>
           </c:forEach>
          </select>　　
          　职称：&nbsp;&nbsp;&nbsp;&nbsp;
          <select name="zcbh" id="zcbh" style="width: 10%">
            <option>无</option>
            <option>管理</option>
            <c:forEach items="${zcList}" var="zc">
            <c:if test="${zc.zdqc=='管理'}">
                <option value="${zc.id}" <c:if test="${ryzl.zdByZcbh.id==zc.id}"> selected</c:if>>&nbsp;&nbsp;|---${zc.typename}</option>
            </c:if>
            
           </c:forEach>
           <option>工人</option>
           <c:forEach items="${zcList}" var="zc">
            <c:if test="${zc.zdqc=='工人'}">
                <option value="${zc.id}" <c:if test="${ryzl.zdByZcbh.id==zc.id}"> selected</c:if>>&nbsp;&nbsp;|---${zc.typename}</option>
            </c:if>
           </c:forEach>
           <option>专业技术人员</option>
           <c:forEach items="${zcList}" var="zc">
            <c:if test="${zc.zdqc=='专业技术人员'}">
                <option value="${zc.id}" <c:if test="${ryzl.zdByZcbh.id==zc.id}"> selected</c:if>>&nbsp;&nbsp;|---${zc.typename}</option>
            </c:if>
           </c:forEach>
          </select>
          岗位等级：&nbsp;&nbsp;&nbsp;&nbsp;
         <select name="gwdj" id="gwdj" style="width: 10%">
         <option value="无" >无</option>
            <option value="二级" <c:if test="${ryzl.gwdj=='二级'}"> selected</c:if>>二级</option>
            <option value="三级" <c:if test="${ryzl.gwdj=='三级'}"> selected</c:if>>三级</option>
            <option value="四级" <c:if test="${ryzl.gwdj=='四级'}"> selected</c:if>>四级</option>
            <option value="五级" <c:if test="${ryzl.gwdj=='五级'}"> selected</c:if>>五级</option>
            <option value="六级" <c:if test="${ryzl.gwdj=='六级'}"> selected</c:if>>六级</option>
            <option value="七级" <c:if test="${ryzl.gwdj=='七级'}"> selected</c:if>>七级</option>
            <option value="八级" <c:if test="${ryzl.gwdj=='八级'}"> selected</c:if>>八级</option>
            <option value="九级" <c:if test="${ryzl.gwdj=='九级'}"> selected</c:if>>九级</option>
            <option value="十级" <c:if test="${ryzl.gwdj=='十级'}"> selected</c:if>>十级</option>
            <option value="十一级" <c:if test="${ryzl.gwdj=='十一级'}"> selected</c:if>>十一级</option>
            <option value="十二级" <c:if test="${ryzl.gwdj=='十二级'}"> selected</c:if>>十二级</option>
            <option value="十三级" <c:if test="${ryzl.gwdj=='十三级'}"> selected</c:if>>十三级</option>
         </select>
          </td>
      </tr>
      <tr>
        <td class="TableData" nowrap="nowrap">人员属性：</td>
        <td class="TableData">
        <select name="rysx" id="rysx" style="width: 86%" onchange="ylfnrs(this.value)">
          <option value="乡专干*" <c:if test="${ryzl.rysx=='乡专干*'}"> selected</c:if>>乡专干*</option>
          <option value="乡专干+" <c:if test="${ryzl.rysx=='乡专干+'}"> selected</c:if>>乡专干+</option>
          <option value="村专干" <c:if test="${ryzl.rysx=='村专干'}"> selected</c:if>>村专干</option>
          <option value="村/社区育龄妇女小组长" <c:if test="${ryzl.rysx=='村/社区育龄妇女小组长'}"> selected</c:if>>村/社区育龄妇女小组长</option>
        </select>
          <div id="rysxrs" style="display: none">
             分管妇女数：<input type="text" id="fns" name="fns" value="${ryzl.fgfns }" />人
           </div>
        </td>
        <td class="TableData">合同期限：</td>
        <td class="TableData"><input name="htqx" type="text" class="SmallInput" id="htqx"  onKeyPress="if(event.keyCode==13) return false;" value="${ryzl.htqxString}" maxlength="100" onFocus="WdatePicker()" />
          至
          <input name="htqx2" type="text" class="SmallInput" id="htqx2"  onKeyPress="if(event.keyCode==13) return false;" value="${ryzl.htqx2String}" maxlength="100" onFocus="WdatePicker()"></td>
      </tr>
      <tr>
        <td class="TableData" nowrap="nowrap">工作状态：</td>
        <td colspan="3" class="TableData"><input name="gzzt" type="radio" id="gzzt" value="在职" checked />
        在职 <input name="gzzt" id="gzzt" type="radio" value="离职"  onClick="document.getElementById('lzsj').disabled=false;" <c:if test="${ryzl.gzzt =='离职'}"> checked</c:if> />离职 <input name="gzzt" id="gzzt" type="radio" value="退休"  onClick="document.getElementById('lzsj').disabled=false;"  <c:if test="${ryzl.gzzt =='退休'}" > checked</c:if> />退休</td>
      </tr>
      <tr>
        <td class="TableData" nowrap="nowrap">个人简历：</td>
        <td colspan="3" class="TableData"><textarea name="grjl" id="grjl" cols="45" rows="5">${ryzl.grjl}</textarea></td>
      </tr>
      <tr>
        <td class="TableData" nowrap="nowrap">备注：</td>
        <td colspan="3" class="TableData"><textarea name="bz" id="bz" cols="45" rows="5">${ryzl.bz}</textarea></td>
      </tr>
      <%Dlyh dlyh = (Dlyh )request.getSession().getAttribute("dlyh"); 
      %>
      <input type="hidden" name="fj" id="fj" value="${ryzl.fj }"/>
      <c:if test="${ryzl.id!=null}">
       <tr>
	        <td class="TableData" nowrap="nowrap">审核状态：</td>
	        <td colspan="3" class="TableData">
      <% 
        //if(!dlyh.getZd().getTypename().endsWith("乡")&&!dlyh.getZd().getTypename().endsWith("镇"))
        if(dlyh.getSfzz().equals(0)||((dlyh.getZd().getTypename().endsWith("县")||dlyh.getZd().getTypename().endsWith("区")||dlyh.getZd().getTypename().equals("武安市"))&&!dlyh.getZd().getTypename().equals("工业园区")))
        {
             Ryzl ryzl = (Ryzl)request.getAttribute("ryzl");
             if(!dlyh.getZd().getId().equals(ryzl.getZdByBmbh().getId())||dlyh.getSfzz().equals(0)){
      %>
	        <input name="shzt" type="radio" value="未审核" checked />
	        未审核
	          <input name="shzt" type="radio" value="已通过" <c:if test="${ryzl.shzt=='已通过'}">checked</c:if> />
	        已通过
	        <input name="shzt" type="radio" value="未通过" <c:if test="${ryzl.shzt=='未通过'}">checked</c:if> />
	        未通过
	      <%}
	         else{%>
	           ${ryzl.shzt}
	         <%}
	      }
	      else
	      {%>
	      ${ryzl.shzt}<input type="hidden" value="${ryzl.shzt }" id="shzt" name="shzt" />
	      <%}
	       %>
	       </td>
	      </tr>
	      
	      <tr>
      <% 
        if((dlyh.getZd().getTypename().endsWith("县")||dlyh.getZd().getTypename().endsWith("区")||dlyh.getZd().getTypename().equals("武安市")|| dlyh.getSfzz().equals(0))&&!dlyh.getZd().getTypename().equals("工业园区"))
        {%>
        <td class="TableData" nowrap="nowrap">附件：</td>
	        <td colspan="3" class="TableData">
	        <% Ryzl r=(Ryzl) request.getAttribute("ryzl");
	         String s = r.getFj();
	         System.out.println("aa"+s+"aaa");
	         if(s!=null&&!s.trim().equals(""))
	         {
	             String [] fjs = s.split("[*]");
	             for(int i=0;i<fjs.length;i++)
	             {%>
	                 <a href="open.do?sname=<%=fjs[i] %>"><%=fjs[i] %></a>
	             <%}
	         }
	         else{%>
	         
	        <% }}%>
	       </td>
	      </tr>
          
	     </c:if>
	      <%   if((dlyh.getZd().getTypename().endsWith("乡")||dlyh.getZd().getTypename().equals("工业园区")||dlyh.getZd().getTypename().endsWith("镇")||dlyh.getZd().getTypename().endsWith("办")||dlyh.getZd().getTypename().endsWith("办事处")||dlyh.getZd().getTypename().endsWith("局")||dlyh.getZd().getTypename().endsWith("社")||dlyh.getZd().getTypename().endsWith("集团")||dlyh.getZd().getTypename().endsWith("院")||dlyh.getZd().getTypename().equals("民航"))&& dlyh.getSfzz().equals(1))
        {%>
	      <tr>
	        <td class="TableData" nowrap="nowrap">附件：</td>
	        <td colspan="3" class="TableData">
	            附件1:<input type="file" name="fj1" size="55" value="" /><br />
	            附件2:<input type="file" name="fj2" size="55" value=""/><br />
	            附件3:<input type="file" name="fj3" size="55" value=""/>
	        </td>
	      </tr>
	      <%} %>
    <tr class="TableControl" align="center">
      <td colspan="4" nowrap="nowrap">
        <input id="btn_submit" value="提交" class="BigButtonB"  type="submit" />&nbsp;&nbsp;
        <input id="btn_submit" value="返回" class="BigButtonB"  type="button" onClick="history.back();" /></td>
    </tr>
    
  </tbody></table>
</form>
<script type="text/javascript">
  function OpenWord(id){
  location.href="ryzlGet.do?id="+id+"&sid=1";
} 

function ylfnrs(str)
{
   if(str=="村/社区育龄妇女小组长")
   {
     document.getElementById("rysxrs").style.display="block";
   }
   else
   {
      document.getElementById("rysxrs").style.display="none";
   }
}

function loadrs()
{
   var fgrs = document.getElementById("fgrs").value;
   if(fgrs=="村/社区育龄妇女小组长")
   {
     document.getElementById("rysxrs").style.display="block";
   }
   else
   {
      document.getElementById("rysxrs").style.display="none";
   }
}

	
</script>

  </body>
</html>
